Shift to control
نویسنده
چکیده
Delimited control operators abound, but their relationships are illunderstood, and it remains unclear which (if any) to consider canonical. Although all delimited control operators ever proposed can be implemented using undelimited continuations and mutable state, Gasbichler and Sperber [28] showed that an implementation that does not rely on undelimited continuations can be much more efficient. Unfortunately, they only implemented Felleisen’s control and prompt [18, 19, 21, 22, 49] and (from there) Danvy and Filinski’s shift and reset [11–13], not other proposed operators with which an expression may capture its context beyond an arbitrary number of dynamically enclosing delimiters. We show that shift and reset can macro-express control and prompt, as well as the other operators, without capturing undelimited continuations or keeping mutable state. This translation is previously unknown in the literature. As a consequence, research on implementing shift and reset, such as Gasbichler and Sperber’s, transfers to the other operators. Moreover, we treat all these operators by extending a standard CPS transform (defying some skepticism in the literature whether such a treatment exists), so they can be incorporated into CPS-based language implementations.
منابع مشابه
Economic design of x¯ control charts considering process shift distributions
Process shift is an important input parameter in the economic design of control charts. Earlier x control chart designs considered constant shifts to occur in the mean of the process for a given assignable cause. This assumption has been criticized by many researchers since it may not be realistic to produce a constant shift whenever an assignable cause occurs. To overcome this difficulty...
متن کاملThe effect of using SBAR model in shift handover on patient and nurse satisfaction in the emergency department
Introduction:One of the communication models that improves communication between the care team, reduces errors, and increases the quality of care is the SBAR method. The aim of this paper was to determine the effect of using the SBAR model in shift handover on patient and nurse satisfaction. Methods: This quasi-experimental study was conducted in the emergency department of Golestan Hospital i...
متن کاملنوبت کاری و پیامدهای بهداشتی مرتبط با آن : مطالعه موردی در پرسنل انتظامات یک مجتمع پالایشگاهی
Background: Shift work is one of the inevitable consequences of technology in which in the recent years numerous studies have been done about its effect on health. Somatic, psychological and social disturbances are among the problems that are seen more in people with shift work than other people. The current study aims to determine the prevalence of these disturbances in one of the LPG and gas ...
متن کاملEvaluation of respiratory system in textile-dyeing workers
Background :Despite the presence of many textile and dyeing plants in Iran, we couldn’t find similar studies in this country. Forthermore, considering progress in the dyeing process and engineering controls, assessment of respiratory system is important for these workers. The present study was performed to evaluate the respiratory system in dyeing workers. Methods : In a cross-sectional stu...
متن کاملبررسی تاثیر نوبت های کاری شبانه بر پردازش اطلاعات و هوشیاری در کارکنان اتاقهای کنترل صنایع پتروشیمی
Background and aims: Shift work and in particular night shift work is associated with many problems such as sleep deprivation, sleepiness, decreased cognitive performance, increased human errors, and fatigue; it is also one of the major contributors of increasing the likelihood of risk of accidents in the industry. Better matching between individuals’ circadian rhythm and night shift and ...
متن کاملBiological Monitoring of Healthcare Workers Exposed to Antineoplastic Drugs: Urinary Assessment of Cyclophosphamide and Ifosfamide
Exposure of health care workers to antineoplastic drugs and subsequent adverse health effects is still an open issue. Very little has been studied on the extent of occupational exposure and handling conditions of antineoplastic drugs in Iran. We aimed to determine cyclophosphamide and ifosfamide concentrations in the urine samples of oncology healthcare workers. In addition, we assessed workpla...
متن کامل